home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-07-12 | 1.1 KB | 55 lines |
-
- #
- # Makefile for EEcad program. Turbo C++ tcc (and up) is assumed available.
- #
-
-
- # Works only on TC++ 1.0 make and up - swap out make before invoking command.
- .SWAP
-
- # Your C compiler and linker
- CC = tcc
- LNK = tlink
-
- # Include directories other than default ones.
- INC = -Ic:\usr\tc\include -I\usr\include
- LIB = c:\usr\tc\lib
- LIB2 = c:\usr\lib
-
- # Non debug flags:
- #
- # BC 2.0 or previous
- # CFLAGS = -ml -c -a- -ff -G -O -r -d -w -v- -y- -k- -N-
- #
- # BC++ 3.0 (with optimizer).
- CFLAGS = -ml -c -a- -ff -G -O1 -r -d -w -v- -y- -k- -N-
- LFLAGS = /x/c
-
- # Debug flags:
- # CFLAGS = -ml -c -a- -ff -d -w -N -v -y
- # LFLAGS = /v
-
- #
- # Libs to link with
- #
- LIBS = $(LIB)\mathl.lib $(LIB)\cl.lib
-
- # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
- # choke on them (the { } signals batch mode that combines few operation at the
- # same time - very nice feature!).
- .c.obj:
- $(CC) $(INC) $(CFLAGS) {$< }
-
- OBJS = conv.obj
-
- EEDraw: $(OBJS)
- $(LNK) @&&!
- c:\usr\tc\lib\c0l.obj+
- $(OBJS)
- conv.exe
- conv.map
- $(LIBS)
- !$(LFLAGS)
-
- conv.obj: conv.h ..\primary.h
-